﻿using Swimj.Core.Utilities;

namespace Swimj.Core.DependencyInjection
{
    public class OnServiceExposingContext : IOnServiceExposingContext
    {
        public Type ImplementationType { get; }

        public List<Type> ExposedTypes { get; }

        public OnServiceExposingContext(Type implementationType, List<Type> exposedTypes)
        {
            ImplementationType = CheckHelper.NotNull(implementationType, nameof(implementationType));
            ExposedTypes = CheckHelper.NotNull(exposedTypes, nameof(exposedTypes));
        }
    }
}
